<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>JScharts Test</title>
	</head>
	<body>
		<script type="text/javascript" src="../js/jscharts.js"></script>
		<div id="chartcontainer">This is just a replacement in case Javascript is not available or used for SEO purposes</div> 
		
		<script type="text/javascript">
			var myData=new Array(['第一',20], ['Unit2',10], ['Unit3',30], ['Unit4',10], ['Unit5',5]);
			var myChart =new JSChart('chartcontainer','bar');
			myChart.setDataArray(myData);
			myChart.setTitle('柱状图');
			myChart.draw();
		</script>
	</body>
</html>
